<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">


<h:head>
	<title>
		<ui:insert name="titulo">Página de Teste do JSF e PrimeFaces</ui:insert>
	</title>
	<link href="#{controle.css}" rel="stylesheet" type="text/css" />
</h:head>

<h:body class="principal">


	<p:menubar styleClass="menubar">

		<p:submenu label="Sistema" icon="ui-icon-document" styleClass="submenu">
			<p:submenu label="Manutenção" icon="ui-icon-contact">
				<p:submenu label="Tabelas" icon="ui-icon-contact">
					<p:menuitem value="Fabricante" url="#" />
					<p:menuitem value="Veiculo" url="#" />
				</p:submenu>
			</p:submenu>
		</p:submenu>

		<p:submenu label="Vendas" icon="ui-icon-document" styleClass="submenu">
			<p:submenu label="Cadastro" icon="ui-icon-contact">
				<p:menuitem value="Carro" url="#" />
			</p:submenu>
		</p:submenu>

	</p:menubar>

	<h:panelGrid columns="2" cellpadding="5">
		<p:outputLabel value="Username:" />
		<p:inputText value="" id="username" required="true" label="username" />

		<p:outputLabel value="Password:"  />
		<p:password value="" id="password" required="true" label="password" />

		<f:facet name="footer">
			<p:commandButton id="loginButton" value="Login" />
		</f:facet>
	</h:panelGrid>


	<p:dock>
		<p:menuitem label="Finder" icon="../imagens/finder.png" url="#" />
		<p:menuitem label="Safari" icon="../imagens/safari.png" url="#" />
		<p:menuitem label="iTunes" icon="../imagens/itunes.png" url="#" />
		<p:menuitem label="iChat" icon="../imagens/ichat.png" url="#" />
		<p:menuitem label="Trash" icon="../imagens/trash.png" url="#" />
		<p:menuitem label="Finder" icon="../imagens/finder.png" url="#" />
		<p:menuitem label="Safari" icon="../imagens/safari.png" url="#" />
		<p:menuitem label="iTunes" icon="../imagens/itunes.png" url="#" />
		<p:menuitem label="iChat" icon="../imagens/ichat.png" url="#" />
		<p:menuitem label="Trash" icon="../imagens/trash.png" url="#" />
	</p:dock>

</h:body>

</html>